package com.monkey.model.monkey;

import com.monkey.core.ErrorCode;

/**
 * desc:
 * auth: chenxiaobin
 * data: 2018/2/3.
 */
public class MonkeyMarryData {
    private int code;
    private String msg;
    private int id;

    public MonkeyMarryData(int code) {
        this(code, 0);
    }

    public MonkeyMarryData(int code, int id) {
        this.code = code;
        this.msg = ErrorCode.getMsg(code);
        this.id = id;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public int getId() {
        return id;
    }
}
